<?php
require_once('Doctrine/Doctrine.php');

class Zen_Orm_Doctrine extends Zen_Base
{
    protected $_Zen_Orm_Doctrine = array('model' => '');

    public function fetch()
    {
        Zen::$model = Zen::$system."/app/Models/".$this->_config['model'];
        set_include_path(Zen::$model. "/generated" .
                 PATH_SEPARATOR . get_include_path());
        spl_autoload_register(array('Doctrine', 'autoload'));

        return ;
    }

}